package day15;

public class TestPoly1 {
    public static void main(String[] args){

    }
}

class Person{}
class Student1 extends Person{}
class Teacher1 extends Person{}
class Restroom{
    public void wc(Person x){
        System.out.println(x.getClass().getName());
    }
}
